<?php header('Content-Type: text/html; charset=utf-8'); ?>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="/css/style.css" />
        <title><?= $text->get($title) ?></title>
    </head>
    <body>
        <?php //= $this->tag('HelpDesk/Menu', array("menu" => $mainMenu)) ?>
        <div id="mainMenu">
            <a href="<?= $router->getActionUrl('DashboardController/index') ?>">
                <?= $text->get("mainMenu.dashboard") ?>
            </a>
            <a href="<?= $router->getActionUrl('UserController/index') ?>">
                <?= $text->get("mainMenu.users.index") ?>
            </a>
        </div>

        <?php require $this->viewFolder . $body . ".phtml"; // TODO: improve ?>

        <div id="footer">
            HelpDesk 2013
        </div>
    </body>
</html>